package org.ejc.persist.model;

import java.io.Serializable;
import org.apache.commons.lang.builder.ToStringBuilder;


/** @author Hibernate CodeGenerator */
public class ContactDetail implements Serializable {

    /** identifier field */
    private Integer contactId;

    /** nullable persistent field */
    private Integer mobileNumber;

    /** nullable persistent field */
    private Integer radioChannel;

    /** nullable persistent field */
    private String email;

    /** persistent field */
    private org.ejc.persist.model.Address address;

    /** persistent field */
    private org.ejc.persist.model.ConventionExecutive conventionExecutive;

    /** full constructor */
    public ContactDetail(Integer contactId, Integer mobileNumber, Integer radioChannel, String email, org.ejc.persist.model.Address address, org.ejc.persist.model.ConventionExecutive conventionExecutive) {
        this.contactId = contactId;
        this.mobileNumber = mobileNumber;
        this.radioChannel = radioChannel;
        this.email = email;
        this.address = address;
        this.conventionExecutive = conventionExecutive;
    }

    /** default constructor */
    public ContactDetail() {
    }

    /** minimal constructor */
    public ContactDetail(Integer contactId, org.ejc.persist.model.Address address, org.ejc.persist.model.ConventionExecutive conventionExecutive) {
        this.contactId = contactId;
        this.address = address;
        this.conventionExecutive = conventionExecutive;
    }

    public Integer getContactId() {
        return this.contactId;
    }

    public void setContactId(Integer contactId) {
        this.contactId = contactId;
    }

    public Integer getMobileNumber() {
        return this.mobileNumber;
    }

    public void setMobileNumber(Integer mobileNumber) {
        this.mobileNumber = mobileNumber;
    }

    public Integer getRadioChannel() {
        return this.radioChannel;
    }

    public void setRadioChannel(Integer radioChannel) {
        this.radioChannel = radioChannel;
    }

    public String getEmail() {
        return this.email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public org.ejc.persist.model.Address getAddress() {
        return this.address;
    }

    public void setAddress(org.ejc.persist.model.Address address) {
        this.address = address;
    }

    public org.ejc.persist.model.ConventionExecutive getConventionExecutive() {
        return this.conventionExecutive;
    }

    public void setConventionExecutive(org.ejc.persist.model.ConventionExecutive conventionExecutive) {
        this.conventionExecutive = conventionExecutive;
    }

    public String toString() {
        return new ToStringBuilder(this)
            .append("contactId", getContactId())
            .toString();
    }

}
